<?php
if(!isset($_POST["id"])){
	echo '{"res":"NG","message":"id没有定义"}';
	exit;
}
if(!preg_match("/^.{1,20}$/",$_POST["id"])){
	echo '{"res":"NG","message":"用户ID的格式不符合规定"}';
	exit;
}
?>